package basics.condition;
/**
 * 
 * @author gexj
 *
 */
public class TestSwitch1 {
	/**
	 * 
	 * @param args
	 */
	public static void main(String args[]) {
		int i = 1;
//		int i = 5;
		switch (i) {
		case 0:
			System.out.println("0");
		case 1:
			System.out.println("1");
		case 2:
			System.out.println("2");
		default:
			System.out.println("default");
		}
	}
}

